package com.github.llyb120.driver.qiuya;

public class QiuyaClientBuilder {
    private String host = "127.0.0.1";
    private String port = "28018";

    private QiuyaClientBuilder(){}

    public QiuyaClientBuilder host(String host){
        this.host = host;
        return this;
    }

    public QiuyaClientBuilder port(String port){
        this.port = port;
        return this;
    }

    public static QiuyaClientBuilder create(){
        return new QiuyaClientBuilder();
    }

    public QiuyaClient build(){
        return new QiuyaClient(host, port);
    }
}
